package com.xcdh.ittools.utils;

import com.xcdh.commons.utils.ValidateUtil;
import com.xcdh.ittools.config.ITToolConfiguration;
import com.api.ittools.entity.ToolDatasource;
import com.xcdh.ittools.sql.ITToolBoundSql;
import com.xcdh.ittools.type.ITToolExecutor;
import com.xcdh.ittools.type.ITToolReturnType;
import com.api.ittools.entity.Tables;
import com.xcdh.ittools.wrapper.DBColumnWrapper;
import org.apache.ibatis.ognl.Ognl;
import org.apache.ibatis.ognl.OgnlException;
import org.apache.velocity.Template;
import org.apache.velocity.VelocityContext;
import org.apache.velocity.app.Velocity;
import org.apache.velocity.app.VelocityEngine;
import org.apache.velocity.runtime.RuntimeConstants;
import org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader;

import java.io.FileWriter;
import java.io.IOException;
import java.io.StringWriter;
import java.sql.*;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;

public class MybatisTest {
    public static void main(String[] args) throws IOException {

        Tables innerdb = Tables.builder().engine("innerdb").build();
        ValidateUtil.notNull(innerdb,"")
                .notVoid(innerdb::getEngine,"");
    }
}
